lib: Create an internal static delta parsing/opening function
authorColin Walters <walters@verbum.org>
Sat, 6 Feb 2016 12:56:19 +0000 (13:56 +0100)
committerColin Walters <walters@verbum.org>
Mon, 8 Feb 2016 13:46:13 +0000 (14:46 +0100)
commit56fc249d08d784ec481b71f2b13e2dbe509b0d9a
tree0a682f3909e59a36e6714d25f60c7c952066e144
parent8702ec7b3eb9988109ba9ae3a0e801edd9e81885
lib: Create an internal static delta parsing/opening function

We had code to deal with opening/checksumming/decompressing static
deltas in a few places.  I'd like to teach `ostree static-delta show`
how to display more information, and this will allow it to just use
`_ostree_static_delta_part_open()` too.
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-static-delta-core.c
src/libostree/ostree-repo-static-delta-private.h
src/libostree/ostree-repo-static-delta-processing.c